package com.wish.g04.financing.service.impl;

import com.wish.g04.base.entity.CwPayOrderDetail;
import com.wish.g04.financing.dto.PayOrderDTO;
import com.wish.g04.financing.mapper.PayOrderDetailMapper;
import com.wish.g04.financing.service.PayOrderDetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 收付款支付订单及业务关联表 服务实现类
 * </p>
 *
 * @author tyd
 * @since 2022-05-28
 */
@Service
public class PayOrderDetailServiceImpl implements PayOrderDetailService {

    @Autowired
    private PayOrderDetailMapper payOrderDetailMapper;

    /**
     * 查询流水所有详细
     * @param cwPayOrderDTO
     * @return
     */
    @Override
    public List<CwPayOrderDetail> getPayOrderDetailList(PayOrderDTO cwPayOrderDTO) {
        List<CwPayOrderDetail> payOrderDetailList = payOrderDetailMapper.getPayOrderDetailList(cwPayOrderDTO);
        return payOrderDetailList;
    }

}
